package com.zzw;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @Project: warehouse
 * @Description: 启动类
 * @Author: zzw
 */
//开启redis注解版缓存
@EnableCaching
@MapperScan(basePackages = {"com.zzw.mapper", "com.zzw.utils"})
@SpringBootApplication
@Slf4j
public class WarehouseApplication {
    public static void main(String[] args) {
        SpringApplication.run(WarehouseApplication.class, args);
        log.info("server started...");
    }
}
